-
Home
-
Hotel Booking Lite
-
4.11.2 (latest)
-
Code
-
Classes
- DateUtils
Total Complexity |
73 |
Dependencies |
4 |
Dependents |
46 |
Total lines |
582 |
Lines of code |
289 |
Logical lines of code |
162 |
Comment lines |
211 |
Methods |
35 |
Properties |
0 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
createQuarterPeriod() |
S |
51 |
7 |
24 |
createDatePeriod() |
S |
61 |
4 |
11 |
getPeriodRangeDates() |
S |
62 |
4 |
11 |
createCheckInDate() |
S |
65 |
4 |
8 |
createCheckOutDate() |
S |
65 |
4 |
8 |
isDateInPeriod() |
S |
63 |
4 |
10 |
wpTimezoneStringPolyfill() |
S |
58 |
3 |
14 |
getPeriodDates() |
S |
62 |
3 |
12 |
getPostDateTimeUTC() |
S |
63 |
3 |
11 |
convertDateFormat() |
S |
67 |
3 |
7 |
parseTime() |
S |
60 |
2 |
14 |
nextTimestampWithTime() |
S |
62 |
2 |
11 |
dateFormatToRegex() |
S |
58 |
1 |
16 |
getDayByKey() |
S |
74 |
2 |
4 |
getSiteTimeZoneString() |
S |
67 |
2 |
8 |
createWeekPeriod() |
S |
65 |
2 |
9 |
getSiteTimeZone() |
S |
67 |
2 |
8 |
createThirtyDaysPeriod() |
S |
64 |
2 |
10 |
isPeriodsIntersect() |
S |
70 |
2 |
5 |
createDateRangeArray() |
S |
66 |
2 |
8 |
getDaysList() |
S |
63 |
1 |
11 |
formatDateWPFront() |
S |
78 |
1 |
3 |
isDate() |
S |
72 |
1 |
5 |
currentDateWithTime() |
S |
66 |
1 |
8 |
formatTimeWPFront() |
S |
78 |
1 |
3 |
formatModifiedDate() |
S |
74 |
1 |
4 |
cloneModify() |
S |
73 |
1 |
5 |
calcNightsSinceToday() |
S |
74 |
1 |
4 |
calcNights() |
S |
66 |
1 |
8 |
formatDateTimeDB() |
S |
80 |
1 |
3 |
createYearPeriod() |
S |
69 |
1 |
6 |
createMonthPeriod() |
S |
71 |
1 |
5 |
createDayPeriod() |
S |
68 |
1 |
6 |
extractDayMonthYear() |
S |
69 |
1 |
6 |
formatDateDB() |
S |
80 |
1 |
3 |